import Vue from 'vue'
import vueRouter from 'vue-router'
import index from './views/index'
import hello from './views/hello'

Vue.use(vueRouter);

export default new vueRouter({
    mode:"history",
    base: process.env.BASE_URL,
    routes:[
        {
        path:'/',
        name:'index',
        component:index
    },
    {
        path:'/index',
        name:'index',
        component:index
    },
    {
        path:'/hello',
        name:'hello',
        component:hello
    }]
})